Added sample of event subscription