guessing game refinement