trying to improve m-a setup; still not successfully tested.