updated version of error code