Add cost index