added accuracy output