Added history feature