add enum to nameContract