Modified photoArray struct to have .data field