toSubscriptionState