adding class and changing height