Handled the case where setupRotation isn't even defined