add leaveteam and more