add a bunch of Python stats stuff