completed new amd implementation