added ResultSet iterator