added amd wrapper