added some comments to game controller