completed error correction exercise