adding penalty_val