flash core with generated code