replaced seq along with seq len