add two directives