modify cost counting