lsa.py updated.