moving all oc code to offer utils