it may not be directly applicable, but we try hard to use the (or a) statemachine to prevent these kinda of crazy conditional blocks)