added constructors to threshold block