removed lightness checks to keep things simpler