added gate on OSC communication