the second stage

2) critical values + modifying fomulas for caculating violations.