added a main element