working on chat, not working yet