Added production threshold state machine