Shouldn't that be ++S?