Lots of logic! Hope it still builds in Arduino.