major changes: new beam format, array of beams, I/O structure changed