add totaloutstanding messages for pieter and ui