added arrays and slices