Small adjustment
Try better use of history