cleaned up game1.cs code