added loading animation