added histrogram plot