Rewrite the following sentences beginning as shown, so that the meaning remains the same.
My cousin often visited me when he lived in Hanoi.
-> My cousin used ........................................................................................................