comments and real-array-glitch corrected.