Add nlenabled function