adding basic search functionality