anchor.diff:    werkzeug:logging(Logfile, lists:concat(FullMessage)),
     Logfile.
   
  -step(Config, Clients, Toggled, Minimum) ->
  +calculation_state(Config, Clients, Toggled, Minimum) ->
     receive
  -    toggle -> step(Config, Clients, not(Toggled), Minimum);
  +    toggle -> calculation_state(Config, Clients, not(Toggled), Minimum);
       prompt -> promt_all_ggt(Clients);
       nudge -> check_status_all_ggt(Clients);
       {calc, WggT} -> startCalculation(WggT, Clients);
  
positive.code:     {briefmi, {Clientname, CMi, CZeit}} ->
        log(["Client " + Clientname + " informs about new Mi ", CMi, " at ", CZeit]),
        NewMinimum = update_minimum(CMi, Minimum),
        step(Config, Clients, Toggled, NewMinimum);
      {From, briefterm, {Clientname, CMi, CZeit}} ->
        if
          Toggled -> handle_briefterm(CMi, Minimum, From, CZeit);
  
negative.code:       initial_state(NewState);
      reset -> initial_state(maps:update(clients, [], State));
      kill -> shutdown(State);
      step -> transition_to_calculation_state(State)
    end,
    State.
  
  