remove print
update thresholds etc