some changes to init