doing the sell part