more work on iterator, going to bed