Cepheid variable stars vary in size and brightness over a period ... did most of the labor-intensive legwork. The Andromeda Galaxy and the Milky Way Galaxy are on a collision course.
These objects were actually the Andromeda and Messier 33 galaxies ... the distance to his Cepheid exceeded Shapley's size for the Milky Way. Over subsequent months, Hubble examined other spiral ...