copy refs list before adding temp refs to it
added colored hex values