committed changes to pls.py