Add buy and sell functions