add search function for testing