added debug print statements around dma