added stuff for chat