renamed g.accuracy to g.outputAccuracy