adds search capabilities