New function Fhazard