rudimentary search working