changed to fixed length arrays