updated mp1_new.py