Added Don's ledStates changes