search mode implemented.