updated initialize on precompile