seq argument must be array reference