refactoring strings into constants