Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Edit the given text so that it sticks to standard English grammar rules.

### Input:
We was going to the store, when she realized she forgot her wallet.

### Response:
We were going to the store when she realized she had forgotten her wallet.