Added a characters array (so no more calls to `charAt`)