declare getSupSRotation and define at the end of the macro