add directives of example