i watched the light that was green for the other direction of traffic turn to yellow and slammed the gas , swerving to avoid a car that had been trying to make it through before the light turned red .