substring method not needed because str_slice returns the same substring but it's more flexible since it accepts negative values.