class assignment