adding the threshold parameter in JDBM approach