changed thresholding method for presentation reasons
added example files