addCostgroup is working now!