adding spinner to show something is happening