threshvalue set to 50%