defining flow dsl