Implemented searching.