make search work