added -N option