add element to view