changed the way guess is done