norm updated to allow user defined critical values