loading animation now works (sorta)