dma handler added to the repo, TO BE TESTED!
TODO modified