some functions of Enum are also available for Enum.Gen