TRESHOLD example
cleanup