replaced template