replace magic string with variable from enum?