deleted current_guess from new_guess and validated the input