requires an originCode