Switched event subscription to lambda