added callback to start function