More advanced array functionality