added a subscription checker