these are insertMessage functions,author is qh
`````