adding directives.