Implemented all functions for munger.py