Staples reported that it lost $596.3 million in its third quarter, pulled down by restructuring and impairment charges and lower revenue. But the office products company’s adjusted results beat analysts’ expectations.

Staples has been working on a strategic plan that includes investing more in its online and mobile efforts and expanding the product assortment that it offers to its business customers. The efforts are aimed at serving customers’ better and accelerating growth.