"the court deems a corresponding punishment to be necessary,"