Allow S to be changed at run-time