updating to use a css spinner