added recursive AMMM, no good