updated array methods