for a class assignment