got search working thanks to jericho