Created adder, made cascade a separate state machine