comment XML class and texture function in the main