non graphical version of ammp