changes for loader.