add threshold from properties