reducing redundancy
split the string
convert to numbers
actually switch the resolution
don't switch if we're already at the selected resolution