contestada

After we studied and were going to the cafeteria.

This sentence is a sentence fragment. How would you rewrite the sentence to make it correct?
A)After we studied and were going to the cafeteria, we decided to stop by the dorms.
B)After we studied, and we were going to the cafeteria.
C)After we studied and we were going to eat at the cafeteria on the main campus.
D)After we studied and we were going to eat and stop by the dorms.