rearranged few directives in order