New: compilation of functions: Generating frame