changed cellForIndex to take a tableView so user can call dequeue