tryed to improve the color detection....