Added blend functions and constants