build flow with Directives instances