added some color functions