table view now works too