Renamed fn to make it a little less ambiguous