Checking in changes, added xml to array function