Final product before Andrei's DSL improvement
DSL safety implemented by yours truly