event0, event1 and corresponding invocations now could contain lambda-functions