added mastertemplate