pattern/enum works with nts