Shopify Inc. shares soared 11% on Thursday morning’s premarket after the company announced a surprising adjusted profit. It also announced the sale its logistics division. The company reported a total income of $77m, or $5 cents per share. It had posted a loss of $1.17 billion or $15billion in the previous quarter. The company reported adjusted earnings per share at 1 cents, down from the 2 cents it had a year ago. Analysts tracked by FactSet projected a 4 cent loss. Analysts had expected $1.44 billion. Revenue increased to $1.51 from $1.20. Gross merchandise volume grew to $49.6billion, an increase of 15% over the previous year. Tobi Lutke, the Chief Executive of Shopify Logistics, said that the company would shrink by 20% after today. Flexport is buying Shopify Logistics.