added changes to the loading file