Using an array as a reference is deprecated at ...