Merge pull request #1 from jakebolewski/jb/fixsyntax

fix deprecated array range syntax