right before working on making histogram vertical