Hazard perception is the activity which talks about