working xml main file