adding support for integration of MDArray