trying to get the event subscription working