updated template for dir measure