add element before class