Added hint method and test for it