return single value if gate.in called once.