refactoring; color pallete