$ 0 0 The state machine and 'all wires' did the trick. Scrap the local variable then. Its more or less useless. Thanks guys