add 2-pass open to next part od code