Change this sentence structure to create a complex sentence: "The dogs barked".
As the storm grew closer, the dogs barked.
Complete the following task based on the instruction and optional input provided.### Instruction:
Change this sentence structure to create a complex sentence: "The dogs barked".

### Output:
As the storm grew closer, the dogs barked.