added color functions