modify amd add comments