added loading bar