A new way to prevent wrong-way crashes