added the treshold points output