That's reasonable, though I think it's important that the example make clear that the original list of positions is modified.