Migratory birds face threats from habitat loss, hunting, and collisions with man-made structures. International cooperation is needed to protect birds that migrate across multiple countries. Migratory patterns are genetically programmed and cued by changes in day length, though navigation also involves sensing the earth's magnetic fields and using visual landmarks. Stopover sites between breeding and wintering areas are important but less protected than other areas. Conservation groups have worked to establish protected areas and regulations to help preserve migratory birds and their long-distance journeys.