finished XML loading mechanism