add elements to view