figured out the issue with hazard conversion to int; need to write separate files for each 6 char "hazard"