work on xml init packets
after merge with xml init work