add Threshold filter sample