Implemented a few more functions in tableview. continuing...