Switched of back function stack as it is because XML generation takes to long