dx:comments to jg's python code
dx:comments to jg's python code