added searching feature