stubs for search function