Added while(rs.next())