Adding some basic functions to table view controller..