working version without OSC