Updating visualization code for part 2
merggggggeee