added table view, activity view and request code