separating row code