Can we change `f` to `newFrag` or `curFrag` or something?