method get_hint