my variable object is an array containing an object. Needed to call out the index number before I could access the data inside.