add some array methods