add to diagnostic template