Adding changes to MyLAB file to accomodate for PML.