avoid duplicate code; also externalize the path to the oa wrapping transform