for class assignment