printer class added