adjust output to follow new repeated format