make iterator objects a bit nicer to use