We have obtained high resolution, high S/N spectra of the RS CVn binary IM Peg using UVES spectrograph at Kueyen 8.2m telescope of ESO VLT. We use Doppler imaging techniques to obtain stellar surface temperature maps from the UVES data. The TempMap code allows us to use surface differential rotation as an input parameter and thus to try to construct the rotation pattern on the stellar surface as part of the inversion process. The UVES observations are combined with spectroscopic observations from another time period obtained at the STELLA observatory. We obtain stellar surface temperature maps also from these spectra. These Doppler images are used to study the magnetic activity and surface differential rotation on IM Peg.