added searching capabilities