finished search implementation
blabla