updated the hazard getter