test stubs
search implementation