allowed template to replace