adding basic search gunctionality