Replaced array access by variable access.