Added history-related global vars