add search functions to master table