two methods of adding data to listview