built out methods for the string manipulation