implements remote iterator
implement raise