attempt at loading spinner