modified the chat view