Assigning array reference variables