implemented resnorm figure