lots more comments for python interface