template for task gen