I am having a strange problem where petData is initially being logged to the console as undefined and a few moments later populating the array of data. I assume this has to