add directives