Change the following sentence making sure the meaning is still the same: "The teacher was giving out the books."
The books were being distributed by the teacher.
Complete the following task based on the instruction and optional input provided.### Instruction:
Change the following sentence making sure the meaning is still the same: "The teacher was giving out the books."

### Output:
The books were being distributed by the teacher.