osc code all working