renamed penalty to cost