Search function added.