Replace completed array with a flag. Speeds up page processing by factor of 100!