Hurricane Michael was the worst storm to ever strike the Florida Panhandle, and it left a trail of destruction in its wake: It leveled buildings, knocked out electricity and cellphone service, and left thousands homeless and 16 dead in Florida.

And Election Day is in 21 days. How will people in these areas be able to vote?

That is an urgent question in the hardest-hit counties, home to over 200,000 registered voters in the state’s Second Congressional District, which in recent years has been represented by both Democrats and Republicans. The first day of early voting is Oct. 27.

Florida’s secretary of state, Ken Detzner, said in a statement it was his “number one priority” that “all registered voters, first responders and volunteers in affected areas are able to cast their vote safely and securely without any barriers.”

Officials say they are working to ensure that people in devastated communities can vote in the midterm elections. Here is a brief guide to how they are handling a thorny problem.