added support for discussions