change parameter type from String to CharSequence