how to init