can now specify number of data points using -b