store history on console as a separate object