gerek Console.WriteLine
refactor codeGeneration code