removed console.log, memory optimization in game controller