Added using of variables in the substring function