added 'sell' operation