added code to subscription service