added the loading indicator