parameterized basic mda function