now shows different states of loading.