simplified the AMD example