Added DMA transfer functionality