cleaned code for osc sender