revised MML generation; added volume macros