second attempt at loading spinner