<div style="font-family: 'Times New Roman'; font-size: 16px;">Hello, <br _moz_dirty="" /><br _moz_dirty="" />I have this programm : <br _moz_dirty="" /><br _moz_dirty="" />; WorldState -&gt; WorldState<br _moz_dirty="" />; the clock ticked; decrease the gauge with 0.1<br _moz_dirty="" />; example:<br _moz_dirty="" />; given: 20, expected 19.9<br _moz_dirty="" />; given: 78, expected 77.9<br _moz_dirty="" />(define (tock ws) <br _moz_dirty="" />  (if (&gt; ws 0) (- ws 0.1)0 ))<br _moz_dirty="" /><br _moz_dirty="" />; GaugeState -&gt; Gaugestate. <br _moz_dirty="" />; display the gauge.<br _moz_dirty="" />(define (gauge ws)<br _moz_dirty="" />  (overlay/xy (rectangle  100 20 &quot;outline&quot; &quot;black&quot;) 0 0 (rectangle ws 20 &quot;solid&quot; &quot;red&quot;)))<br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" />; World -&gt; World <br _moz_dirty="" />; adjust the gauge when the user uses the up or down key.<br _moz_dirty="" />; given 20 and the down-key expected 20.5<br _moz_dirty="" />; given 78 and the up-key expected 78,3 <br _moz_dirty="" />(define (toets ws input)<br _moz_dirty="" />  (cond<br _moz_dirty="" />    [ (key=? input &quot;down&quot;) (+ ws 0.3)]<br _moz_dirty="" />    [ (key=? input &quot;up&quot;) (+ ws 0.5)]<br _moz_dirty="" />    [ else ws]<br _moz_dirty="" />    ))<br _moz_dirty="" /><br _moz_dirty="" />(define (main ws)<br _moz_dirty="" />   (big-bang ws (on-tick tock) (to-draw gauge) (on-key toets)))<br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" />It runs perfectly but do I understand it right that the variable ws is the same as world.<br _moz_dirty="" /><br _moz_dirty="" />Roelof<br _moz_dirty="" /><br /></div>