implementing PacketFactory finshed