adding class overlay