assigning to the class