added discussion functionality