more detailed directives in template