some color checking