better dsl support to create tasks