halfway in chat functionality2