updated comments in sparta.py