added doSell method