moved ox into separate library