handle was failing on assoc arrays, now extracting values with array_values()