Converted pointer arithmetic to bracket notation.