Refactoring with Base String