Added Calculate Cost