modified gameData and adding functionality to datareading