wrote a function that shows payload size properly