The cepheid variable is a technique that Hubble used for determining distances to galaxies. According to this technique, a star with a specific brightness can be used as a standard candle.