edited xml and java main