Sell function works.