Are you sure array_values is necessary; I _think_ it can go without. That would save on performance