Contract manufacturer Foxconn is investigating a plant in China that makes devices for Amazon after a US watchdog group criticized what it described as harsh working conditions at the factory.

A 94-page report by New York’s China Labor Watch — following a nine-month investigation — cited excessive hours, low wages, inadequate training and an overreliance on “dispatch” or temporary workers in violation of Chinese law at the Hengyang Foxconn plant in Hunan province, which makes Echo Dot smart speakers and Kindle e-readers.

“We are carrying out a full investigation of the areas raised by that report, and if found to be true, immediate actions will be taken to bring the operations into compliance with our Code of Conduct,” Foxconn Technology Group said in a statement emailed to Reuters.

Taiwan-based Foxconn, known formally as Hon Hai Precision Industry, is the world’s largest contract electronics manufacturer and employs more than a million people.

Foxconn, which also makes Apple iPhones, came under fire in 2010 for a spate of suicides at plants in China. Foxconn pledged to improve working conditions.

China Labor Watch said its investigation found that about 40 percent of workers at the plant were dispatch workers, far exceeding the 10 percent cap. Dispatch workers were paid at the same rate for regular and overtime hours, rather than time and a half as required, said CLW program officer Elaine Lu.

“They were underpaid,” Lu said. “That’s illegal.”

Dispatch workers earn $2.26 per hour, the report said. Workers also put in more than 100 overtime hours per month during peak season, far more than the 36 hours allowed by law, and some worked for 14 consecutive days.

Amazon said it audited the factory in March and found overtime and use of dispatch workers were “issues of concern.”

“We immediately requested a corrective action plan from Foxconn,” Amazon said in a statement. It said it is monitoring Foxconn’s response and “compliance with our Supplier Code of Conduct. We are committed to ensuring that these issues are resolved.”

Foxconn said in an earlier statement that it “works hard to comply with all relevant laws and regulations” where it operates and conducts regular audits. “If infractions are identified, we work to immediately rectify them,” it said.