Implementation AMP analysis.  Untested however.