refactoring directive.  finally works.