Getting Object out of array