new version of nester.py