I think this is what `r` is above, so this should be nested under the "if f:" section above.