added on test to see if Listview not null