add another resolution, remove switch operation