working implementation of berks DSL with groups