add initialize on precompile