more work on history expire