getting chat to work