added in stateT IO to norAnalze