assignment whole class