saveMacSample + additions to MAC_samples