begin addition of histogram and slider