copypasting code for color-not-breaking-and-profit