small changes to the buy and sell methods - still things to do