adding in animated loading indicator