updating the DummyCost Class for ticket  #490