minor changes to morestuff.py