option -n implemented