Kaleidoscope sample moved to lambdas