first functional version of iter equil done