row logic. Again!