added a search hint method