Search function complete

Search is done