added AMD wrapper