defined "execDirectives" method