starting adding elements and displaying added elements