nit: [python conventions discourage](http://legacy.python.org/dev/peps/pep-0008/#inline-comments)  inline comments.