In the company’s biggest acquisition ever, Amazon snatched up online shoe and apparel retailer Zappos on Wednesday for $847 million.

Amazon will acquire Zappos for 10 million shares of Amazon stock, valued at $807 million. Amazon will also give $40 million in cash and stock to Zappos employees, CNNMoney.com reports. The deal adds more than 1,000 shoe and apparel brands to the e-commerce giant’s arsenal of products, Bloomberg reports.