refactoring, just to use string