callback to init added