The safety of pedestrian crossing