removed some MAR code (debug and redundant) with @bbest