prepend instead of append for chat demo