Separated row iteration based on object