write munger program