Migrated the example from the classic DSL to the Lambda-DSL