process arrays/collections