create structs & your templates