change String to literal type