code to log the current team
adding arrays
state