receivedTime was not accurate if view is dormate then message submitted so I moved the new Date object into the $add and now its accurate