Refactored magic string