added checkColor method for calibration purposes