compiling a million different functions