Because of his leadership skills, he was placed in charge of prisoner-of-war camps in Java, and was later transferred briefly to Changi, and in January 1943 commanded the first Australians sent to work on the Thai segment of the Burma-Thailand railway where prisoners of the Japanese were being used as forced labourers to construct a strategically important supply route between Bangkok and Rangoon. Conditions in the railway camps were primitive and horrific—food was totally inadequate, beatings were frequent and severe, there were no medical supplies, tropical diseases were rampant, and the Japanese required a level of productivity that would have been difficult for fully fit and properly equipped men to achieve.