describe general template structure as well