Adding substring? implementation