did some xml test stuff in main.cpp