add histogram model
moving toward histogram-based interface