moved color scheme
fixed order of operations
made 80 char limit python-specific