added a function-mp.plot and was able to troubleshoot the other functions successfully.