adds loading spinners