adding xml examples and some testing