handled the reloading