added -n option