working on the class