adding new functionality to main.h structures for the packetBuffer: improvement 2