expanding out macro to enum