still needs color thresholds