implemented user guessing