adding threshold to each field