added a lot of comments for 4.py 2013