Paste ocFunc

Pasted in ocFunc file