updated to correct MO API