simplified the directive