adapt to draw seveal histos