adding directives