make basic chat work