print class objects