! renamed munge files also edited max min functions