added amd support