implement accounting feature in new template