Moved where are the attributes were assigned