separate out directives