made search work properly and added more info to display