latest changes to get the data to be outputed first bracket first last bracket last, win bit at the end of each round group