extract order ref factory