modified templating the attributes