as this method might not be used anymore when creating a template, we should consider removing it