refactored nemo xml  #176