working prototype for dCOR tinting