building rows object