added template to structure response