messages into datatables