added table view and search capablities