hazard detection update (untested)