diff --git a/auto.c b/auto.c
index e076cb2800ce17a628618cd40fd3809379aef023..62e3a7fe6c58a909cfe8fb941e8ee5a3effba913 100644
--- a/auto.c
+++ b/auto.c
@@ -63,18 +63,6 @@ struct Car* init_car(int speed,int width,int height,int pred_pos,int pred_width,
         b->x_pos = pred_pos - b->width - distance;
     }
     
-    if (t == car){
-        p = rand() % 4;
-        if (p == 0){
-            b->color = red; 
-        }else if(p == 1){
-            b->color = green; 
-        }else if (p == 2){
-            b->color = black;
-        }else if(p == 3){
-            b->color = black;
-        }
-    }
 
     return(b);
 }
diff --git a/header.h b/header.h
index 30907e8f1ac58cf2dffc1647b56f54d27127d11c..37739380114eb47c190cb0b048d95849706fe036 100644
--- a/header.h
+++ b/header.h
@@ -27,12 +27,8 @@ enum vehicle{
     car, train,boat, coin, coin_gathered
 };
 
-enum color{
-    red,blue,green, black
-};
 
 struct Car{
-    enum color color;
     enum vehicle type ;
     int x_pos;
     int width;