Wrapping in amd