for the class assignment