changed select_hint to actually only select a hint