trying to make histogram