integrated the delegates and stub methods for the table view