It turns out the s variable is superfluous.