simplify the hint example