add class from read_image
ned of the TP add class is a sucess