in the block above I'd prefer more descriptive variable names than
`s1`, `s2`, `p1a`, `p1b`, etc.