update game instance controller to use local scoped variable