add basic search support

not exactly the same style as the rest, so not sure if you are interested. feedback welcomed.