playing with temp var to calc used color +fix