made search work!!!