fixing OSCFunc example