changes made on renderedSector now using pointers