modified dma api