added significance threshold calculation