return fn from pregenerated map as is