extended main to make room for the history