add the loading bar