code changes to program.cs