add bins argument to histrogram