Modified to work in-place
1 file changed