Making the substring methods less specialized allowing anyone's uername to work with this code.