Last week Tim went camping with his friends. They seemed (to have a good time).
- To having a good time.
- To have had a good time.
- To be having a good time.
- No improvement.
Here I think option 4 is correct but my book suggests option 2. Please explain the correct option with its meaning.