working with template based notigen