use S_LAST_ROW