reduced DSL Groovy code to a few lines...