added callback during initialization