Recompense as a factor in assigned punishment