bin size plots
supporting bin parameter
new function