NTAILQ inspired from TAILQ