trying to generate directives