added p-value threshold option