implemented accuracy codes