a simple class assignment