define element parts of the template