using xml works