use type-name from enum