Ohhhhh....I forgot declare `generatedFunc`...