Better formatting of history