fixed z+x bkg, new templates