added more error correcting code