Convert to amd format