printing n numbers of traces option working