got basic search working