Added amd check