added xml input and merged with logging