tableview working and passing data objects