Amazon said on Tuesday it would reduce its corporate workforce by approximately 14,000 roles as part of an effort to remove bureaucracy and organizational layers. Beth Galetti, the company’s senior vice president of people experience and technology, told employees in a memo that the cuts followed earlier work to strengthen teams by reducing layers and increasing ownership.

The company said it would offer most affected employees 90 days to find new roles internally and that recruiting teams would prioritize internal candidates. Those unable to find positions at Amazon will receive severance pay, outplacement services and health insurance benefits, the memo added.