Correct the errors in the following sentence.
Swimming at the lake, a rock cut Jim's foot.
When Jim was swimming at the lake, he cut his foot on a rock.
Correct the errors in the following sentence.
Swimming at the lake, a rock cut Jim's foot.
When Jim was swimming at the lake, he cut his foot on a rock.