improving leap osc example