Added 'apple' to state, and including appleSignal in inputSignal.