Babe rotator code