added stage() method to Packet