changed return type of getRowSet method