cost is temporary until it is in db