this sortof works, but the rival team is not renderd. I think I'm going to change the idea to a more usable setup, this works, but does not realy provide an api I would like