Made struct Hist an imcomplete type, preventing users from directly accessing data.
small changes