color: refactoring