add example for setClasses