added loading indication