Added color-coding to pips based on label