updated guess method