finished the directives module