fixed typo
first pass at search, some tweaks