change -n to -i