implement new color and mocking logic