move oxid to a public header