changed to inclusive pattern; less output