Edit process.groovy so the given code works to produce the expected result.