Add history variable