For the multivalued logic /\, where k -p r , p is a prime number and r > 2, we describe some families of closed classes which contain the class Pol* of polynomials and are contained in the class 9JI* of the functions preserving congruence modulo d -p*J = 1,..., r -1. These classes are closely related to subsets of the special complete system of the class 2JI*. We reveal a significant difference between the cases where p = 2 and p -3.