Updated dma, function pointer. And other updates.