new changes in the'load' function is added material code
small changes in the'clean' function are added