handle the loading