add functions with const parameter for strings