Fix: variable accuracy is undeclared