Working implementation of subscription manager