buy and sell are working