updated colorspacing again - changed variable names to be simpler