partial draft of JIT exported functions