Function createCompiledResult