error correcting index