Extracting common factors