before precompile