added more arguments to jointeam to prevent breakage
probably wasn't neccesary but it's foolproof now