initial leave loading from xml works