Finite valued feedback laws and piecewise classical solutions