removed publish, using leave callback