-added extra logic to prevent user from winning