not functional, commit to preserve
working substr