Redesigned array API