add enum requirement