add data to view