Basic search funciton added.