add enum type for Form generation