added getRows() method in RowCollections