implemented default search. fixes #3.