working on chat, still broken