Thanks for all of your suggestions. It's weird, I *know* about the array methods mentioned as well as the indexing tricks (it's one of the first things you read about), and yet I still *think* in Fortran. I have to get out of that frame of mind. Well, perfect practice, makes perfect, so on to more coding.... Cheers, t.