working on dma hal