-added loading bar