Made search work