basic search function added