added a loading animation