return function(gate) Gate.cb(gate, Gate.getportstate(gate, 1)) end