connected delegate to tableView