working version of the demo tableview