prototype of chatroom