Implemented search funcionality. -lg