joining and leaving