reformatting
reorganized for python color change