finished array_assignment