Sample code for MM Dispenser