adding buy/sell switch