Updated menu
Modified thresholding