add default constructor to hysteresis