added array of objects
rename var to gameDatas