refactoring strings 2