I do appreciate the additional methods, but it seems a bit overkill, just have a dict with the numerical values and if the value is not in the dict, do not rotate.