When Dave Beck compared the small increase in wages with the large loss of three weeks of wages he was appalled

What is the correctly punctuated version of this sentence?
When Dave Beck compared the small increase in wages with the large loss of three weeks of wages he was appalled.