Working on mutate_team function