Implemented local searching