Changed default value of N to 10.