added loading bar.