credit_row_spec refactored