Used a principal component analysis PCA based fitting algorithm to model galaxy spectra and obtain redshifts. Fitted for the foreground Luminous Red Galaxy (LRG) spectra and fitted the residual using the Emission-Line Galaxies (ELG) templates to detect the presence of background lensed galaxies.