internal/subscriptionhandler library