first attempt at loading spinner