added history ctrl