changes to init