readded packet.py