started implementing search. doesn't work with japanese input yet.