all modern cars were programmed to avoid collisions , not only with other cars but alsoand especiallywith pedestrians , who quickly adapted to take advantage of this safety feature by simply crossing city streets whenever they felt like it , regardless of red lights or traffic .