ad dtwo new functions to myiter.py