implemented the data structure and accessing with gamepad is perfect