commented irrelevant parts of packetreceived