added message id and references