adding new elements to layout