Added helper xmcda functions