change findHazards to work with funMems