Final AMD implementation