added search command.