added different class colors to indicate current state of hazardness