Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Rewrite the following sentence so that it is grammatically correct: 
"Peter and I went shopping yesterday, but I wasn't sure if he is was enjoying himself"

### Response:
Peter and I went shopping yesterday, but I wasn't sure if he was enjoying himself.