precompiling for new logic