snippet for nsenum.