Ading required xml elements