Looks like this is a syntax error. You don't have `take_guess` defined anywhere.