check amd first