added primitive functionality to work with teams and players