first event gen with lambdas