Commenting out colon tokens - they seem to cause problems...
Minor
`sdx()` and `pdx()` are now actually modifying the original array