Intelligent transportation in the prevention of accidents