How does the sentence end?

During their initial electrical engineering class Patricia helped Katrina making the circuit when
Patricia was free.