Investigating the causes of traffic accidents in the city