Made mbgData an array.