improve nitls

Improve nitls to be more versatile.