@name 
@inputs Button1 Button2
@outputs Text:string
@persist T B
@trigger 

interval(1)
if(first()){
    B = 1
T=1}
Text="Now Serving " + "#" + T
if(Button1==1){
 if(B==1){
    B = 0
    T++
    timer("reset",1000)
}
}
if(Button2==1){
 if(B==1){
    B = 0
    T--
    timer("reset",1000)
}
}

if(clk("reset")){B=1}
