added Structure to template