improve definition of iteration operator