Revert "Unused array removed"

This reverts commit 3aaeee84e014cb14af90cd0e4ead54e694687798.