added history working