my implementation of a web search