added more chat functionality