added initialize on precompile