added ranges to the plot