Added api return for amd
Merge pull request #1 from michaeljacobdavis/amd-return

Added api return for amd