adding XML functionality to add tasks